<html>
<head>
  <title>管理授权 | OMS</title>
        <meta charset="utf-8" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <meta http-equiv="cache-control" content="no-cache" />
        <meta http-equiv="expires" content="Thu, 19 Nov 1900 08:52:00 GMT" />
        
        <!-- 加载 bootstrap 样式-->
        <link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/jquery-ui-1.10.4.custom/css/ui-lightness/jquery-ui-1.10.4.custom.min.css" />
        <link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/font-awesome/css/font-awesome.min.css" />
        <link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/bootstrap/css/bootstrap.min.css" />
        
        <!-- 加载本页需要的三方插件样式 -->
	    <link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/DataTables/media/css/jquery.dataTables.css">
	    <link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/DataTables/extensions/TableTools/css/dataTables.tableTools.min.css">
	    <link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/DataTables/media/css/dataTables.bootstrap.css">
	    <link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/jquery-tablesorter/themes/blue/style-custom.css">
	    <link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/jquery-bootstrap-wizard/custom.css">
	    <link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/jquery-steps/css/jquery.steps.css">
        <link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/animate.css/animate.css" />
        <link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/iCheck/skins/all.css" />
    	<link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.min.css">
    	<link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/dhtmlxtree/css/dhtmlxtree.css">
        <!-- 加载主题风格样式 -->
        <link type="text/css" rel="stylesheet" href="/Apollo/madmin/css/themes/style1/orange-blue.css" class="default-style" />
        <link type="text/css" rel="stylesheet" href="/Apollo/madmin/css/themes/style1/orange-blue.css" id="theme-change" class="style-change color-change" />
        <link type="text/css" rel="stylesheet" href="/Apollo/madmin/css/style-responsive.css" />
</head>
<body>
    <div class="page-content">
        <div class="container-fluid">
            <div class="row">
                <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                    <div class="portlet box portlet-blue tabbable">
                        <div class="portlet-header">
                            <div class="caption">选择角色</div>
                        </div>
                        <div class="portlet-body">
                            <div id="generalTabContent" class="tab-content responsive">
                                <div id="alert-tab" class="tab-pane fade in active">
                                    <div class="row">
                                        <div class="list-group" name="listbox" id="listbox" size="15"
                                            style="height: 500px; padding-left: 15px; padding-right: 15px; overflow: auto"></div>
                                    </div>
                                </div>
                                <div id="note-tab" class="tab-pane fade">
                                    <div class="row">
                                        <div id="orgTree" style="height: 350px; overflow: auto;"></div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="col-lg-9 col-xs-9 col-sm-9 col-md-9">
                    <div class="portlet box portlet-violet">
                        <div class="portlet-header">
                            <div class="caption">可使用功能菜单</div>
                                <div class="actions">
                                    <a href="#" class="btn btn-xs btn-warning" style="margin-top:-8px;margin-bottom:-5px;"  onclick="savePrivileges()">
                                        <i class="fa fa-floppy-o"></i>&nbsp;保存
                                    </a>
                                </div>
                        </div>
                        <div class="portlet-body" style="height: 560px;">
                            <ul id="generalTab" class="nav nav-tabs ul-edit responsive">
                                <li class="active"><a href="#menu-tab" data-toggle="tab">菜单权限</a></li>
                                <li><a href="#project-tab" data-toggle="tab">项目权限</a></li>
                                <li><a href="#shop-tab" data-toggle="tab">店铺权限</a></li>
                            </ul>
                            <div id="generalTabContent" class="tab-content responsive">
                                <div id="menu-tab" class="tab-pane fade in active">
                                    <div class="row">
                                        <div class="pull-right" style="padding-right: 35px">
                                            <button class="btn btn-info btn-xs" type="button" id="btnClean" onClick="cleanSubnode()">
                                                <i class="fa fa-times"></i>&nbsp;清空子节点
                                            </button>
                                            <button class="btn btn-info btn-xs" type="button" id="btnExpand" onClick="expandAll()">
                                                <i class="fa fa-plus"></i>&nbsp;全展开
                                            </button>
                                            <button class="btn btn-info btn-xs" type="button" id="btnClose" onClick="closeAll()">
                                                <i class="fa fa-minus"></i>&nbsp;全折叠
                                            </button>
<!--                                             <button class="btn btn-info btn-xs" type="button" id="btnSave" onclick="savePrivileges()"> -->
<!--                                                 <i class="fa fa-floppy-o"></i>&nbsp;保存 -->
<!--                                             </button> -->
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div id="menuTree" style="overflow: auto;"></div>
                                    </div>
                                </div>
                                <div id="project-tab" class="tab-pane fade">
                                    <div class="portlet-body" style="overflow: auto; height: 450px">
                                        <div class="row">
                                            <div>
                                            	<div class="row">
	                                            	<div class="col-lg-7 col-xs-7 col-sm-7 col-md-7"></div>
	                                            	<div class="col-lg-5 col-xs-5 col-sm-5 col-md-5">
														<span class="counter pull-right">
															<button type="button" data-toggle="dropdown" class="btn btn-success dropdown-toggle">
																&nbsp;<i class="fa fa-search"></i>
															</button>
														</span>
														<div class="form-group pull-right">
														    <input type="text" class="search form-control" placeholder="">
														</div>
	                                            	</div>
	                                            </div>
                                                <table id="t_project"
                                                    class="table table-hover table-striped table-bordered table-advanced tb-sticky-header results"
                                                    width="100%">
                                                    <thead>
                                                        <tr>
                                                            <th id="thpro" style="width: 1%; padding: 10px;"><input id="chkAllProject" name="chkAllProject"
                                                                type="checkbox" colValue="chk" class="checkall" /></th>
                                                            <th colValue="prjName">项目名称</th>
                                                            <th colValue="prjType">项目类型</th>
                                                            <th colValue="cons">联系人</th>
                                                            <th colValue="tel">电话</th>
                                                            <th colValue="createTime">创建时间</th>
                                                            <th colValue="expireTime">到期时间</th>
                                                        </tr>
                                                    </thead>
                                                    <tbody>
                                                    </tbody>
                                                </table>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div id="shop-tab" class="tab-pane fade">
                                    <div class="portlet-body" style="overflow: auto;height: 450px">
                                        <div class="row">
                                            <div>
	                                            <div class="row">
	                                            	<div class="col-lg-7 col-xs-7 col-sm-7 col-md-7"></div>
	                                            	<div class="col-lg-5 col-xs-5 col-sm-5 col-md-5">
														<span class="counter pull-right">
															<button type="button" data-toggle="dropdown" class="btn btn-success dropdown-toggle">
																&nbsp;<i class="fa fa-search"></i>
															</button>
														</span>
														<div class="form-group pull-right">
														    <input type="text" class="search2 form-control" placeholder="">
														</div>
	                                            	</div>
	                                            </div>
 												<table id="shopTable" style="border-bottom:1px solid #ddd" class="table table-striped table-bordered table-hover results2">
                                                     <thead>
                                                        <tr>
                                                            <th id="thshop" style="width: 1%; padding: 10px;">
                                                                <input id="chkAllShop" name="chkAllShop" type="checkbox" colValue="chk" class="checkall"/>
                                                            </th>
                                                            <th width="19%" colValue="shopName">店铺名称</th>
                                                            <th width="20%" colValue="shopAccount">平台帐号</th>
                                                            <th width="20%" colValue="prjName">所属项目</th>
                                                            <th width="20%" colValue="parentshopname">父店铺</th>
                                                            <th width="20%" colValue="expireTime">到期时间</th>
                                                        </tr>
                                                    </thead>
                                                     <tbody>
                                                    </tbody>
                                                </table>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!--END CONTENT -->
	    <!-- 加载 jquery js-->
	    <script src="/Apollo/madmin/js/jquery-1.10.2.min.js"></script>
	    <script src="/Apollo/madmin/js/jquery-migrate-1.2.1.min.js"></script>
	    <script src="/Apollo/madmin/js/jquery-ui.js"></script>
	    
	    <!-- 加载 bootstrap 和三方插件 js -->
	    <script src="/Apollo/madmin/vendors/bootstrap/js/bootstrap.min.js"></script>
	    <script src="/Apollo/madmin/vendors/bootstrap-hover-dropdown/bootstrap-hover-dropdown.js"></script>
	    <script src="/Apollo/madmin/js/html5shiv.js"></script>
	    <script src="/Apollo/madmin/js/respond.min.js"></script>
	    <script src="/Apollo/madmin/vendors/jquery-cookie/jquery.cookie.js"></script>
	    <script src="/Apollo/madmin/vendors/iCheck/icheck.min.js"></script>
	    <script src="/Apollo/madmin/vendors/iCheck/custom.min.js"></script>
	    <script src="/Apollo/madmin/vendors/jquery-notific8/jquery.notific8.min.js"></script>
	    <script src="/Apollo/madmin/vendors/jquery-pace/pace.min.js"></script>
	    <script src="/Apollo/madmin/vendors/holder/holder.js"></script>
	    <script src="/Apollo/madmin/vendors/responsive-tabs/responsive-tabs.js"></script>
	    <script src="/Apollo/madmin/vendors/moment/moment.js"></script>
		<script src="/Apollo/madmin/vendors/bootstrap-datetimepicker/build/js/bootstrap-datetimepicker.min.js"></script>
	    <script src="/Apollo/madmin/vendors/DataTables/media/js/jquery.dataTables.js"></script>
	    <script src="/Apollo/madmin/vendors/DataTables/media/js/dataTables.bootstrap.js"></script>
	    <script src="/Apollo/madmin/vendors/DataTables/extensions/TableTools/js/dataTables.tableTools.min.js"></script>
    	<script src="/Apollo/madmin/vendors/jquery-tablesorter/jquery.tablesorter.js"></script>
    	<script src="/Apollo/madmin/js/table-advanced.js"></script>
	    <script src="/Apollo/madmin/vendors/jquery-validate/jquery.validate.min.js"></script>
	    <script src="/Apollo/madmin/vendors/jquery-validate/message_zh.js"></script>
	    <script src="/Apollo/madmin/vendors/jquery-steps/js/jquery.steps.min.js"></script>
	    <script src="/Apollo/madmin/vendors/jquery-bootstrap-wizard/jquery.bootstrap.wizard.min.js"></script>

	    <!-- 加载本页面对应的js -->
    	<script src="/Apollo/madmin/jsplit/jsplit.js"></script>
	    <script src="/Apollo/madmin/vendors/dhtmlxtree/Arraylist.js"></script>
		<script src="/Apollo/madmin/vendors/dhtmlxtree/dhtmlxcommon.js"></script>
		<script src="/Apollo/madmin/vendors/dhtmlxtree/dhtmlxmenu.js"></script>
		<script src="/Apollo/madmin/vendors/dhtmlxtree/dhtmlxtree.js"></script>
		<script src="/Apollo/madmin/vendors/dhtmlxtree/dhtmlXTreeExtend.js"></script>
		<script src="/Apollo/madmin/vendors/dhtmlxtree/DivDialogUtil.js"></script>
	    <script src="/views/static/js/export.js"></script>
	    <script src="/views/static/js/form.js"></script>
	    
	    <script src="/Apollo/madmin/vendors/DataTables/jquery.jeditable.js"></script>
<!-- 	    <script src="table-editable.js"></script> -->
	    <script src="PrivilegeMain.js"></script> 
</body>
</html>